package com.example.test_system.model;

import java.util.List;
import java.util.Set;

public class MultipleChoice implements Question {
    private int mc_id;
    private String topic;
    private String items;
    private String answers;

    public MultipleChoice(int mc_id, String topic, String items, String answers) {
        this.mc_id = mc_id;
        this.topic = topic;
        this.items = items;
        this.answers = answers;
    }

    public int getMc_id() {
        return mc_id;
    }

    public String getTopic() {
        return topic;
    }

    public String getItems() {
        return items;
    }

    public String getAnswers() {
        return answers;
    }

    public void setMc_id(int mc_id) {
        this.mc_id = mc_id;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public void setItems(String items) {
        this.items = items;
    }

    public void setAnswers(String answers) {
        this.answers = answers;
    }

    @Override
    public String toString() {
        return "MultipleChoice{" +
                "mc_id=" + mc_id +
                ", topic='" + topic + '\'' +
                ", items='" + items + '\'' +
                ", answers='" + answers + '\'' +
                '}';
    }
}
